package com.easy.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//声明项目启动时扫描com.easy.common.config.redis这个包，加载Redis配置
@ComponentScan(basePackages = "com.easy.common.config.redis")
public class ConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class,args);
    }
}